package cn.besbing.server.service.primary;

import cn.besbing.model.entities.primary.NcTestList;
import cn.besbing.model.entities.primary.NcTestListExample;
import cn.besbing.model.mapper.primary.NcTestListMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class PrimaryNcTestListServiceImpl implements NcTestListMapper {
    
    
    @Autowired(required = false)
    NcTestListMapper ncTestListMapper;
    
    
    @Override
    public long countByExample(NcTestListExample example) {
        return ncTestListMapper.countByExample(example);
    }

    @Override
    public int deleteByExample(NcTestListExample example) {
        return ncTestListMapper.deleteByExample(example);
    }

    @Override
    public int deleteByPrimaryKey(String name) {
        return ncTestListMapper.deleteByPrimaryKey(name);
    }

    @Override
    public int insert(NcTestList record) {
        return ncTestListMapper.insert(record);
    }

    @Override
    public int insertSelective(NcTestList record) {
        return ncTestListMapper.insertSelective(record);
    }

    @Override
    public List<NcTestList> selectByExample(NcTestListExample example) {
        return ncTestListMapper.selectByExample(example);
    }

    @Override
    public NcTestList selectByPrimaryKey(String name) {
        return ncTestListMapper.selectByPrimaryKey(name);
    }

    @Override
    public int updateByExampleSelective(NcTestList record, NcTestListExample example) {
        return ncTestListMapper.updateByExampleSelective(record, example);
    }

    @Override
    public int updateByExample(NcTestList record, NcTestListExample example) {
        return ncTestListMapper.updateByExample(record, example);
    }

    @Override
    public int updateByPrimaryKeySelective(NcTestList record) {
        return ncTestListMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(NcTestList record) {
        return ncTestListMapper.updateByPrimaryKey(record);
    }
}
